package com.yfq.springframework.beans.factory;

import com.yfq.springframework.beans.config.BeanPostProcessor;
import com.yfq.springframework.beans.config.SingletonBeanRegistry;

/**
 * @author 姚凤桥
 * @date 2023/1/28 21:18
 * @description
 */
public interface ConfigurableBeanFactory extends SingletonBeanRegistry, HierarchicalBeanFactory {
    String SCOPE_SINGLETON = "singleton";

    String SCOPE_PROTOTYPE = "prototype";

    void addBeanPostProcessor(BeanPostProcessor beanPostProcessor);

    /**
     * 销毁单例对象
     */
    void destroySingletons();
}
